home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8075 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: anvil.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: memory allocation using malloc and free
  5. Date: 29 Feb 1996 14:08:17 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4h584hINNrlr@anvil.ugrad.cs.ubc.ca>
  8. References: <4gagll$5rc@bertrand.ccs.carleton.ca> <danpop.824952492@rscernix> <4gqja2INN8vr@keats.ugrad.cs.ubc.ca> <danpop.825438439@rscernix>
  9. NNTP-Posting-Host: anvil.ugrad.cs.ubc.ca
  10.  
  11. In article <danpop.825438439@rscernix>, Dan Pop <danpop@mail.cern.ch> wrote:
  12. >c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
  13. >
  14. >>By the way, it would have been good to show the other "following limits".
  15. >
  16. >OK, here they are:
  17.  
  18. Thanks! I'm sorry I asked for that, by the way, since I have since looked them
  19. up. I found a university library with ANSI/ISO standards---it's a geek's
  20. heaven. There is POSIX, IEEE stuff...
  21.  
  22. But it's great for the benefit of others.
  23.  
  24. >2.2.4.1 Translation limits
  25.  
  26. [cut...]
  27.  
  28. > * 12 pointer, array, and function declarators (in any combinations)
  29. >   modifying an arithmetic, a structure, a union, or an incomplete type
  30. >   in a declaration
  31.  
  32. That one confused me upon a casual first parse, but it obviously refers to
  33. this:
  34.  
  35.     TYPE D1, *D2, (*D3)(), D4[], ..., D12;
  36.  
  37. That is, at least twelve declarators in a row in what is one declaration.
  38. -- 
  39.  
  40.